﻿using System;
using System.ServiceModel;

namespace WSU.Cheka.Session.SvcHost
{
    static class Program
    {
        static void Main(string[] args)
        {
            using (ServiceHost host = new ServiceHost(typeof(CalculateSvc)))
            {
                host.Opened += (sender, evtargs) => { Console.WriteLine("service started."); };
                host.Open();
                Console.ReadLine();
            }// using service host
        }
    }
}
